﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using objetos;

namespace softsales.cadastro
{
    public partial class frmBancoLocalizar : Form
    {

        public string id;
        public string codigo;
        public string nome;       

        public frmBancoLocalizar()
        {
            InitializeComponent();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {


            id = idTextBox.Text;
            codigo = codigoTextBox.Text;
            nome= nomeTextBox.Text;
           

            DialogResult = System.Windows.Forms.DialogResult.OK;
        }

        private void btnCancelar_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.Cancel;
        }
    }
}
